<%@ page import="MypageController.MyMain.MyMainBean" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
int mypageid = (Integer)request.getAttribute("mypageid");
String id = (String)request.getAttribute("id");
int level = (Integer)request.getAttribute("level");
MyMainBean mypagedata = (MyMainBean)request.getAttribute("mypagedata");

String color;
if(level == 1){
	color = "#60b615";
}else{
	color = "#0f89d2";
}
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="/KOMORIUTA/Mypage/Css/MpBord.css"> 
<link rel="STYLESHEET" type="text/css" href="/KOMORIUTA/page/page.css">

<script src="/KOMORIUTA/Massage/Ms_Script.js" type="text/JavaScript"></script>
<script src="/KOMORIUTA/Mypage/Mp_Script.js" type="text/JavaScript"></script>
<script src="/KOMORIUTA/Mypage/jquery.js" type="text/JavaScript"></script>
</head>
<body>

<table align="center" width="696" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="3" align="center" width="100%" height="100" background="<%=request.getContextPath() %>/Mypage/image/topskin.jpg" style="border-right: 2px solid <%=color %>; border-bottom: 2px solid <%=color %>">
			<table width="100%"cellpadding="0" cellspacing="0">
				<tr height="20%"><td>&nbsp;</td></tr>
				
				<tr align="center">
					<td width="80%">
						<h1><%=mypagedata.getBlog_Tilte()%></h1>
					</td>
				</tr>
				
				<tr>
					<td align="right" valign="bottom" >
						<%=mypagedata.getBlog_Intro() %>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td align="right" valign="middle" colspan="2" height="">
			<a href=javascript:startPage("<%=id%>","<%=0%>")>
			
			
				<!-- 
				<% if(level == 1){ %>共有者
				<% }else{ %>製作者<% }%>[<%=id%>]
				 -->
			
			
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Blog_My.png">
			</a>　
			<a href=javascript:entriWrite('<%=id%>',<%=mypageid%>)> 
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Blog_Wr.png">
			</a>　
				<% if(level == 2){ %>
			<a href=javascript:manage('<%=id%>',<%=mypageid%>)>
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Blog_Ad.png">
			</a>
				<% } %>
		</td>
	</tr>
	<tr align="center">
		<td>
			<img alt="" src="<%=request.getContextPath() %>/Mypage/image/No_Create.png">
		</td>
	</tr>
</table>





<!--  
<table align="center" width="696" height="50px" cellpadding="0" cellspacing="0">
	<tr>
		<td align="center" width="100%" height="100" background="<%=request.getContextPath() %>/Mypage/image/topskin.jpg" style="border-right: 2px solid <%=color %>; border-bottom: 2px solid <%=color %>">
			<table width="100%"cellpadding="0" cellspacing="0">
				<tr height="20%"><td>&nbsp;</td></tr>
				
				<tr align="center">
					<td width="80%">
						<h1><%=mypagedata.getBlog_Tilte()%></h1>
					</td>
				</tr>
				
				<tr>
					<td align="right" valign="bottom" >
						<%=mypagedata.getBlog_Intro() %>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	
	<tr>
		<td align="right" valign="middle">
			<a href=javascript:startPage("<%=id%>","<%=0%>")>
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Blog_My.png">
			</a>　
			<a href=javascript:entriWrite('<%=id%>',<%=mypageid%>)> 
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Blog_Wr.png">
			</a>　
				<% if(level == 2){ %>
			<a href=javascript:manage('<%=id%>',<%=mypageid%>)>
				<img alt="" src="<%=request.getContextPath() %>/Main/image/Blog_Ad.png">
			</a>
				<% } %>
		</td>
	</tr>
</table>
<div id="list">
	<div id="board">
    	<div class="content"><h3>まだ作成した文がありません。</h3></div>
  	</div>
</div>
-->


</body>
</html>